package com.example.statemachine.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

@Repository
public interface VULockMapper {


    @Update("update ${table} set version = version+1 where ${params}")
    int update(@Param("table") String table,@Param("params") String params);
}
